package com.example.demo.service;

import com.example.demo.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Date:2021/6/29 11:07
 * @Author:郑伟
 * @Version:1.1.0
 */
@Service
public interface UserService {
    List<User> findAll();
    int login(String name, String password);
}
